#!usr/bin/env python  
#@time: 2018/01/24 
from tkinter import *
root = Tk()
root.overrideredirect(True)
root.attributes("-alpha", 1)#窗口透明度60 %
w, h = root.winfo_screenwidth(), root.winfo_screenheight()

root.geometry("%sx%s+0+0" %(w,h))
canvas = Canvas(root)
canvas.configure(width = w)
canvas.configure(height = h)
canvas.configure(bg = "black")
canvas.configure(highlightthickness = 0)
canvas.pack()

root.mainloop()
#自己加个双击鼠标事件 关闭窗口 不然结束程序很不爽 要关闭IDE